@layout("/common/_container.html"){
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
<input type="hidden" name="id" id="id" value="${menu.id}">
<input type="hidden" id="ismenuValue" value="${menu.ismenu}">
 <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">名称</label>
      <div class="layui-input-inline">
        <input type="text" name="name" id="name" value="${menu.name}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">菜单编号</label>
      <div class="layui-input-inline">
        <input type="text" name="code" id="code" value="${menu.code}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">父级编号</label>
      <div class="layui-input-inline">
        <input type="text" name="pcodeName" id="pcodeName" value="${menu.pcodeName}" lay-verify="required" autocomplete="off" class="layui-input" 
        onclick="MenuInfoDlg.showMenuSelectTree(); return false;" readonly="readonly">
        <input type="hidden" name="pcode" id="pcode" value="${menu.pcode}" lay-verify="required" autocomplete="off" class="layui-input">
        <div id="pcodeTreeDiv" style="display: none; position: absolute; z-index: 200; left:0px !important;">
            <ul id="pcodeTree" class="ztree tree-box" style="margin-top:0; width:190px !important;"></ul>
        </div>
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">是否是菜单</label>
      <div class="layui-input-inline">
        <select name="ismenu" id="ismenu">
	        <option value="">请选择</option>
	        <option value="1">是</option>
	        <option value="0">否</option>
	    </select>
      </div>
    </div>
  </div> 
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">请求地址</label>
      <div class="layui-input-inline">
        <input type="text" name="url" id="url" value="${menu.url}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">排序</label>
      <div class="layui-input-inline">
        <input type="text" name="num" id="num" value="${menu.num}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">图标</label>
      <div class="layui-input-inline">
        <input type="text" name="icon" id="icon" value="${menu.icon}" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item layui-hide">
    <input type="button" lay-submit lay-filter="menu-submit" id="menu-submit" value="确认">
  </div>
</div>
</div>
</div>

<script src="${ctxPath}/static/modular/system/menu/menu_info.js"></script>
<script>
  layui.config({
	 base: '${ctxPath}/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form;
    
    
  })
  </script>
@}
